import { Injectable } from '@angular/core';
import { _HttpClient } from '@delon/theme';
import { ApiService } from '@core/services/api';
import { Observable } from 'rxjs';
import { HttpClient } from '@angular/common/http';
export interface MenuNodeItem {
  key: string,
  title: string,
  children?: MenuNodeItem[],
  [key:string]: any
}
@Injectable()
export class MenuService {
  getMenuList(param): Observable<any> {
    return this.http.post(this.api.menu.list.url,param)
  }
  constructor(
    private http: HttpClient,
    private api: ApiService
  ) { }
}
